package com.gzp.service.impl;

import java.util.List;

import com.gzp.pojo.UserAddress;
import com.gzp.service.OrderService;
import com.gzp.service.UserService;

public class OrderServiceImpl implements OrderService {

	private UserService userService;

	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	@Override
	public List<UserAddress> initOrder(String userId) {
		System.out.println("-----实际调用类--------");
		return userService.findAllAddress(userId);
	}

}
